/** @file tree.cc
 *
 *  @author Dongryeol Lee (drselee@gmail.com)
 */

#include "core/tree/tree.h"

namespace core {
namespace tree {
Tree::Tree() {
  child_begin_indices_ = NULL;
  child_indices_ = NULL;
  num_nodes_ = 0;
}

Tree::~Tree() {
  if(child_begin_indices_) {
    delete[] child_begin_indices_;
    delete[] child_indices_;
  }
}

template<typename DatasetType>
void Tree::Construct(const DatasetType &dataset_in) {

}
}
}
